home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / games / nhak_src.zip / FLAG.H < prev    next >
C/C++ Source or Header  |  1993-03-16  |  3KB  |  76 lines

  1. /*    SCCS Id: @(#)flag.h    3.0    89/02/02
  2. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  3. /* NetHack may be freely redistributed.  See license for details. */
  4.  
  5. #ifndef FLAG_H
  6. #define FLAG_H
  7.  
  8. struct flag {
  9.     unsigned ident;        /* social security number for each monster */
  10.     boolean  debug;        /* in debugging mode */
  11. #define    wizard    flags.debug
  12.     boolean  explore;    /* in exploration mode */
  13. #define    discover    flags.explore
  14.     unsigned toplin;    /* a top line (message) has been printed */
  15.                 /* 0: top line empty; 2: no --More-- reqd. */
  16.     boolean  cbreak;    /* in cbreak mode, rogue format */
  17.     boolean  standout;    /* use standout for --More-- */
  18.     boolean  nonull;    /* avoid sending nulls to the terminal */
  19.     boolean  ignintr;    /* ignore interrupts */
  20.     boolean  time;        /* display elapsed 'time' */
  21.     boolean  nonews;    /* suppress news printing */
  22.     boolean  notombstone;
  23.     unsigned end_top, end_around;    /* describe desired score list */
  24.     boolean  end_own;        /* idem (list all own scores) */
  25.     boolean  no_rest_on_space;    /* spaces are ignored */
  26.     boolean  beginner;
  27.     boolean  female;
  28.     boolean  invlet_constant;    /* let objects keep their
  29.                        inventory symbol */
  30.     boolean  move;
  31.     boolean  mv;
  32.     unsigned run;        /* 0: h (etc), 1: H (etc), 2: fh (etc) */
  33.                 /* 3: FH, 4: ff+, 5: ff-, 6: FF+, 7: FF- */
  34.     boolean  nopick;    /* do not pickup objects (as when running) */
  35.     boolean  echo;        /* 1 to echo characters */
  36.     boolean  botl;        /* partially redo status line */
  37.     boolean  botlx;        /* print an entirely new bottom line */
  38.     boolean  nscrinh;    /* inhibit nscr() in pline(); */
  39.     boolean  made_amulet;
  40.     unsigned no_of_wizards;    /* 0, 1 or 2 (wizard and his shadow) */
  41.                 /* reset from 2 to 1, but never to 0 */
  42.     unsigned moonphase;
  43. #define    NEW_MOON    0
  44. #define    FULL_MOON    4
  45.  
  46.     boolean  sortpack;    /* sorted inventory */
  47.     boolean  confirm;    /* confirm before hitting tame monsters */
  48.     boolean  safe_dog;    /* give complete protection to the dog */
  49.     boolean  soundok;    /* ok to tell about sounds heard */
  50.     boolean  verbose;    /* max battle info */
  51.     boolean  silent;    /* whether the bell rings or not */
  52.     boolean  pickup;    /* whether you pickup or move and look */
  53.     boolean  num_pad;    /* use numbers for movement commands */
  54.     boolean  help;        /* look in data file for info about stuff */
  55.     boolean  IBMgraphics;    /* use IBM extended character set */
  56.     boolean  DECgraphics;    /* use DEC VT-xxx extended character set */
  57. #ifdef TEXTCOLOR
  58.     boolean  use_color;    /* use color graphics */
  59. #endif
  60. #ifdef AMIFLUSH
  61.     boolean amiflush;    /* kill typeahead */
  62. #endif
  63. #ifdef DGK
  64.     boolean  IBMBIOS;    /* whether we can use a BIOS call for
  65.                  * redrawing the screen and character input */
  66.     boolean  rawio;        /* Whether can use rawio (IOCTL call) */
  67. #endif
  68. #ifdef MACOS
  69.     boolean  wantspace;        /* Waiting for a space (as in --More--) */
  70. #endif
  71. };
  72.  
  73. extern struct flag flags;
  74.  
  75. #endif /* FLAG_H /**/
  76.